import Vue from '../vue'
import Router from 'vue-router'
import routers from '../component/portfolio/hk-pay/routes.js'
import * as filters from '../component/portfolio/hk-pay/filters.js'
import App from '../component/portfolio/hk-pay/app.vue'

Vue.use(Router)
Object.keys(filters).forEach((key) => {
  Vue.filter(key, filters[key])
})

let app = Vue.extend({
  components: {
    'vue-app': App
  }
})
let router = new Router()
routers(router)

router.start(app, '#app')
